package com.edu.springboot_disk_erban.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class FileBean {
    private int fileId;
    private String  fileName;
    private String filePath;
    private String fileSize;

    private String fileTime;
    private int isDirectory;


    public FileBean(String fileName, String filePath, String fileSize, String fileTime, int isDirectory) {
        this.fileName = fileName;
        this.filePath = filePath;
        this.fileSize = fileSize;
        this.fileTime = fileTime;
        this.isDirectory = isDirectory;
    }
}
